//
//  AXFShopPayAmountPriceCell.m
//  AXFEightGroup
//
//  Created by ya on 12/28/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import "AXFShopPayAmountPriceCell.h"

@interface AXFShopPayAmountPriceCell ()

@property (weak, nonatomic) IBOutlet UILabel *amountPriceLabel;

@end

@implementation AXFShopPayAmountPriceCell

- (void)setTotalPrice:(CGFloat)totalPrice {
    _totalPrice = totalPrice;
    self.amountPriceLabel.text = @"合计: $".link([NSString stringWithFormat:@"%.1f", totalPrice]);
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;

    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
